1
1
.
.
2
2
W
W
e
e
b
b
C
C
l
l
i
i
e
e
n
n
t
t
I
I
n
n
f
f
o
o
Following tutorials show how to use WebClient Class to call Remote Endpoints.
To demonstrate this functionality we will create
Server Spring Boot Application that returns Person(s) in JSON format
Client Spring Boot Application that will call Endpoint(s) from the above Server to get Person(s)
Schema
Client
Server
{"id":1,"name":"John","age":20}
http://localhost:8085/GetPerson
http://localhost:8085/GetPersons
[{"id":1,"name":"John","age":20},
{"id":2,"name":"Bill","age":50}]